package com.leo.model;

import org.springframework.beans.factory.FactoryBean;

/**
 * @ClassName: FactoryUserInfo
 * @Description: ${description}
 * @Author: leo825
 * @Date: 2020-02-16 00:37
 * @Version: 1.0
 */
public class FactoryUserInfo implements FactoryBean<UserInfo> {
    @Override
    public UserInfo getObject() throws Exception {
        return new UserInfo();
    }

    @Override
    public Class<?> getObjectType() {
        return UserInfo.class;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
}
